package com.bdv.md.en;


public enum ConstantValues {
	NO_AKSES(756),
	CC_TOKEN_REQUEST(10),
	CC_AMR(20),
	CC_LIM_KREDIT(30),
	CC_ALERT(40),
	CC_HISTORY_TOKEN(50),
	CC_BILLING_HISTORY(60),
	READING_TYPE_PERIODIC(0),
	READING_TYPE_REQUEST(1),
	READING_TYPE_ALARM(2),
	PELANGGAN_PRA_BAYAR(1),
	PELANGGAN_PASCA_BAYAR(2),
	
	CC_AMR_PP(11),
	CC_LOAD_PROFILE_PP(21),
	CC_EVENT_LOG_PP(31),
	CC_BILLING_PP(41),
	CC_ALARM_PP(51),
	CC_RECALL_LOAD_PROFILE_PP(61),
	CC_TIME_SYNC_PP(71),
	CC_REMOTE_PP(81),
	CC_SCADA_SYSTEM_PP(91)
	;
	
	private Integer code;
	private String value;
	private ConstantValues(Integer c){
		code = c;
	}
	private ConstantValues(String s){
		value=s;
	}
	public Integer getCode(){
		return code;
	}
	public String getValue(){
		return value;
	}
	
	public String getPLNCode(){
		return "1"+code.toString();
	}
	public Integer getPLNCodeInt(){
		return Integer.parseInt(getPLNCode());
	}
	
}
